package com.lk.entity;

import lombok.Data;
import lombok.ToString;

/**
 * @author kun.li
 */
@Data
@ToString(callSuper = true)
public class RequestMessage extends Message {

    private String interfaceName;

    private String methodName;

    private Class<?> resultType;

    private Class[] parameterTypes;

    private Object[] parameterValue;

    private String version;
    /**
     * 实现类的名称
     * 使用spring的名称来获取具体执行的哪个Bean
     */
    private String beanName;

    public RequestMessage() {
    }

    public RequestMessage(String interfaceName, String methodName, Class<?> resultType, Class[] parameterTypes, Object[] parameterValue) {
        this.interfaceName = interfaceName;
        this.methodName = methodName;
        this.resultType = resultType;
        this.parameterTypes = parameterTypes;
        this.parameterValue = parameterValue;
    }


}
